package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 景点对象 tourism_spot
 *
 * @author gqd
 * @date 2020-12-25
 */
public class TourismSpot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 景点图片 */
    @Excel(name = "景点图片")
    private String spotPicture;

    /** 景点名称 */
    @Excel(name = "景点名称")
    private String spotName;

    /** 景点开放时间 */
    @Excel(name = "景点开放时间")
    private String spotOpenhours;

    /** 景点关闭时间 */
    @Excel(name = "景点关闭时间")
    private String spotClearhours;

    /** 景点地址 */
    @Excel(name = "景点地址")
    private String spotAddress;

    /** 景点介绍（文字） */
    private String spotIntroducetext;

    /** 景点介绍（语音） */
    @Excel(name = "景点介绍", readConverterExp = "语=音")
    private String spotIntroduce;

    /** 二维码图片 */
    @Excel(name = "二维码图片")
    private String spotCode;

    /** 精选状态 */
    @Excel(name = "精选状态")
    private String spotStatus;

    /** 景区id（外键） */
    @Excel(name = "景区id", readConverterExp = "外=键")
    private Integer scenicId;

    private String scenicSpotName;

    private Integer distance;

    private String flag;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setSpotPicture(String spotPicture)
    {
        this.spotPicture = spotPicture;
    }

    public String getSpotPicture()
    {
        return spotPicture;
    }
    public void setSpotName(String spotName)
    {
        this.spotName = spotName;
    }

    public String getSpotName()
    {
        return spotName;
    }
    public void setSpotOpenhours(String spotOpenhours)
    {
        this.spotOpenhours = spotOpenhours;
    }

    public String getSpotOpenhours()
    {
        return spotOpenhours;
    }
    public void setSpotClearhours(String spotClearhours)
    {
        this.spotClearhours = spotClearhours;
    }

    public String getSpotClearhours()
    {
        return spotClearhours;
    }
    public void setSpotAddress(String spotAddress)
    {
        this.spotAddress = spotAddress;
    }

    public String getSpotAddress()
    {
        return spotAddress;
    }
    public void setSpotIntroducetext(String spotIntroducetext)
    {
        this.spotIntroducetext = spotIntroducetext;
    }

    public String getSpotIntroducetext()
    {
        return spotIntroducetext;
    }
    public void setSpotIntroduce(String spotIntroduce)
    {
        this.spotIntroduce = spotIntroduce;
    }

    public String getSpotIntroduce()
    {
        return spotIntroduce;
    }
    public void setSpotCode(String spotCode)
    {
        this.spotCode = spotCode;
    }

    public String getSpotCode()
    {
        return spotCode;
    }
    public void setSpotStatus(String spotStatus)
    {
        this.spotStatus = spotStatus;
    }

    public String getSpotStatus()
    {
        return spotStatus;
    }
    public void setScenicId(Integer scenicId)
    {
        this.scenicId = scenicId;
    }

    public Integer getScenicId()
    {
        return scenicId;
    }

    public String getScenicSpotName() {
        return scenicSpotName;
    }

    public void setScenicSpotName(String scenicSpotName) {
        this.scenicSpotName = scenicSpotName;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("spotPicture", getSpotPicture())
            .append("spotName", getSpotName())
            .append("spotOpenhours", getSpotOpenhours())
            .append("spotClearhours", getSpotClearhours())
            .append("spotAddress", getSpotAddress())
            .append("spotIntroducetext", getSpotIntroducetext())
            .append("spotIntroduce", getSpotIntroduce())
            .append("spotCode", getSpotCode())
            .append("spotStatus", getSpotStatus())
            .append("scenicId", getScenicId())
            .append("scenicSpotName", getScenicSpotName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
